#ifndef APPINIT_H
#define APPINIT_H

#include <qobject.h>

class AppInit:public QObject
{
    Q_OBJECT
public:
    static AppInit *Instance();
    explicit AppInit(QObject *parent=0);

protected:
    bool eventFilter(QObject *watched, QEvent *event);

private:
    static QScopedPointer<AppInit> self;

public slots:
    void starts();
};

#endif // APPINIT_H
